package kr.hkit.powerjava.chapter08.work;

public class BoxTest {
	
	 public static void main(String[] args) {
	  Box box1; 
	  box1 = new Box(); 
	  
	  box1.setWidth(100);
	  box1.setHeight(100);
	  box1.setLenght(100); 
	  
	  System.out.println(box1.getVolume()); 
	  
	  Box box2 = new Box();
	  box2.setWidth(200);
	  box2.setHeight(200);
	  box2.setLenght(200);
	  
	  box1 = box2;
	  box1.print(); 
	  
	 }


	}